#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt

from pisi.actionsapi import shelltools, mesontools, autotools, get

def setup():
	shelltools.export("CFLAGS", "%s -g" % get.CFLAGS())
	shelltools.export("LDFLAGS", get.LDFLAGS())
	autotools.rawConfigure("--prefix=/usr --debug")

def build():
	mesontools.build("-C build")

def install():
	mesontools.install("-C build")
